package com.ddbq.pytorchmode;

import com.ddbq.pytorchmode.service.PytorchService;
import com.ddbq.pytorchmode.tool.SpringUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class PytorchModeApplication {

    public static void main(String[] args) {
        SpringApplication.run(PytorchModeApplication.class, args);
        SpringUtils.getBean(PytorchService.class).predict();
    }

}
